﻿@model RB2012.ViewModel.Tutorial

@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Edit</h2>

@using (Html.BeginForm()) {
@Html.ValidationSummary(true)
<fieldset>
<legend>Tutorial</legend>

@Html.HiddenFor(model => model.TutorialID)

<div class="editor-label">
@Html.LabelFor(model => model.TutorialName)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.TutorialName)
@Html.ValidationMessageFor(model => model.TutorialName)
</div>

<p>
<input type="submit" value="Save" />
</p>
</fieldset>
}

<div>
@Html.ActionLink("Back to List", "Index")
</div>